//
//  Header.h
//  Circular
//
//  Created by Cosmin Stirbu on 9/5/12.
//  Copyright (c) 2012 MyWebGrocer. All rights reserved.
//

#ifndef KalViewConstants_Header_h
#define KalViewConstants_Header_h

#import "Constants.h"

#define  kHeaderHeight (IS_IPAD() ? 55 : 38)
#define  kHeaderWidth (IS_IPAD() ? 420 : 320)
#define  kMonthLabelHeight (IS_IPAD() ? 50 : 17)
#define  kMonthLabelWidth (IS_IPAD() ? 300 : 200)
#define  kWeekNameLabelWidth (IS_IPAD() ? 60 : 46)
#define  kWeekNameLabelHeight (IS_IPAD() ? 14 : 10)
#define  kHeaderVerticalAdjust (IS_IPAD() ? 3 : 11)
#define  kChangeMonthVerticalAdjust (IS_IPAD() ? 14 : 7)

CGSize kTileSize;

CG_INLINE CGSize
KalTileSize()
{
    if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad)
        return CGSizeMake(60, 44);
    
    return CGSizeMake(46, 38);
}



#endif
